import request from '@/axios/request'

export default {
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
  option(params:any) {
    const action = params.action
    delete params.action
    return request({
      url: `/v1/${action}`,
      method: 'get',
      params: params.query
    })
  }
}

